/**
 * Created by PengWei on 2018/7/26.
 */
namespace mengdao {
    /**
     * 生命周期状态
     */
    export class LifecycleState {
        /** 新创建未初始化 */
        public static NEW: string = "NEW";

        /** 初始化完成 */
        public static INITIALIZED :string = "INITIALIZED";

        /** 激活中 */
        public static ACTIVE: string = "ACTIVE";

        /** 中断中 */
        public static SUSPEND: string = "SUSPEND";

        /** 恢复中 */
        public static RESUME: string = "RESUME";

        /** 休眠中 */
        public static SLEEP: string = "SLEEP";

        /** 已销毁 */
        public static DESTROY: string = "DESTROY";
    }

    /**
     * 生命周期类型
     */
    export class LifecycleType {
        /** 即时生效类型 */
        public static INSTANT: string = "INSTANT";

        /** 永远生效类型 */
        public static FOREVER: string = "FOREVER";
    }
}